cmake_minimum_required(VERSION 3.0)

project(compress)

add_definitions(-g -Wall -Wshadow)
include_directories(./)
include_directories(./../)
include_directories(./../../)

set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

set(open_libs gtest_main gtest z ssl crypto)

set(gtest_compress_src_list
  ./gmain.cpp
  ./gtest_compress.cpp
  ./../compress.cpp
  ./../../base64/base64.cpp
  ./../../string_util/string_util.cpp
        ../../openssl_util/openssl_util.cpp
        ../../openssl_util/openssl_util.h)


add_executable(gtest_compress ${gtest_compress_src_list})

target_link_libraries(gtest_compress ${open_libs})




